//
//  PriceView.m
//  SAT_NET
//
//  Created by Hedwig on 16/3/5.
//  Copyright © 2016年 郭丹. All rights reserved.
//

#import "PriceView.h"

@implementation PriceView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addAllViews];
    }
    return self;
}

- (void)addAllViews {
    self.backgroundColor = [UIColor whiteColor];
    self.leftTableV = [[UITableView alloc] initWithFrame:CGRectMake(0, 64, 100, kScreenH) style:(UITableViewStylePlain)];
    self.leftTableV.tag = 101;
    [self addSubview:self.leftTableV];
    
    self.rightTableV = [[UITableView alloc] initWithFrame:CGRectMake(110, 64, 265, kScreenH - 64 - 49) style:(UITableViewStyleGrouped)];
    self.rightTableV.tag = 102;
    self.rightTableV.backgroundColor = [UIColor whiteColor];
    [self addSubview:self.rightTableV];
    
    
}

@end
